<div class="Span">
	<div class="title"><?php echo $text['lang_select'];?></div>
	<div>
	<form action="index.php" method="post">
	  <select name="menu">
	  <?php for($i=0;$i<sizeof($lang);$i++){
	  		if($lang[$i]['status']=='1'){?>
	    <option value="<?php echo $lang[$i]['id'];?>"
	     <?php
	     if($_SESSION['lang']==$lang[$i]['id'])
	     	echo 'selected';
	     ?>
	     >
	     <?php echo $lang[$i]['language'];?>
	     </option>
	    <?php }}?>
	  </select>
	  <input type="submit" name="change_lang" value="<?php echo $text['change'];?>">
	</form>
	</div>
</div>